package com.zhangx.study.demo.forkjoin.dto;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.util.Map;
import java.util.concurrent.CompletableFuture;

/**
 * @ClassName OrderRequest
 * @Description 订单对象
 * @Author zhangx
 * @Date 2020/6/17 15:03
 **/
@Data
public class OrderRequest {

    /**
     * 订单号
     */
    private String orderNo;

    /**
     * id
     */
    private String id;

    /**
     * 这个订单的请求
     */
    private CompletableFuture<JSONObject> future;

}
